﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200150B RID: 5387
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class WolfBroInfo : IMessage<WolfBroInfo>, IMessage, IEquatable<WolfBroInfo>, IDeepCloneable<WolfBroInfo>, IBufferMessage
	{
		// Token: 0x170043CF RID: 17359
		// (get) Token: 0x0600F0FF RID: 61695 RVA: 0x00283283 File Offset: 0x00281483
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<WolfBroInfo> Parser
		{
			get
			{
				return WolfBroInfo._parser;
			}
		}

		// Token: 0x170043D0 RID: 17360
		// (get) Token: 0x0600F100 RID: 61696 RVA: 0x0028328A File Offset: 0x0028148A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return WolfBroInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170043D1 RID: 17361
		// (get) Token: 0x0600F101 RID: 61697 RVA: 0x0028329C File Offset: 0x0028149C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return WolfBroInfo.Descriptor;
			}
		}

		// Token: 0x0600F102 RID: 61698 RVA: 0x002832A3 File Offset: 0x002814A3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WolfBroInfo()
		{
		}

		// Token: 0x0600F103 RID: 61699 RVA: 0x002832C4 File Offset: 0x002814C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WolfBroInfo(WolfBroInfo other) : this()
		{
			this.kMPCNKLGIAE_ = other.kMPCNKLGIAE_;
			this.nHKKBMBCDJE_ = other.nHKKBMBCDJE_;
			this.uuid_ = other.uuid_;
			this.id_ = other.id_;
			this.wolfBroPos_ = other.wolfBroPos_.Clone();
			this.wolfBroPropInfo_ = ((other.wolfBroPropInfo_ != null) ? other.wolfBroPropInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600F104 RID: 61700 RVA: 0x00283345 File Offset: 0x00281545
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WolfBroInfo Clone()
		{
			return new WolfBroInfo(this);
		}

		// Token: 0x170043D2 RID: 17362
		// (get) Token: 0x0600F105 RID: 61701 RVA: 0x0028334D File Offset: 0x0028154D
		// (set) Token: 0x0600F106 RID: 61702 RVA: 0x00283355 File Offset: 0x00281555
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool KMPCNKLGIAE
		{
			get
			{
				return this.kMPCNKLGIAE_;
			}
			set
			{
				this.kMPCNKLGIAE_ = value;
			}
		}

		// Token: 0x170043D3 RID: 17363
		// (get) Token: 0x0600F107 RID: 61703 RVA: 0x0028335E File Offset: 0x0028155E
		// (set) Token: 0x0600F108 RID: 61704 RVA: 0x00283366 File Offset: 0x00281566
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint NHKKBMBCDJE
		{
			get
			{
				return this.nHKKBMBCDJE_;
			}
			set
			{
				this.nHKKBMBCDJE_ = value;
			}
		}

		// Token: 0x170043D4 RID: 17364
		// (get) Token: 0x0600F109 RID: 61705 RVA: 0x0028336F File Offset: 0x0028156F
		// (set) Token: 0x0600F10A RID: 61706 RVA: 0x00283377 File Offset: 0x00281577
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public string Uuid
		{
			get
			{
				return this.uuid_;
			}
			set
			{
				this.uuid_ = ProtoPreconditions.CheckNotNull<string>(value, "value");
			}
		}

		// Token: 0x170043D5 RID: 17365
		// (get) Token: 0x0600F10B RID: 61707 RVA: 0x0028338A File Offset: 0x0028158A
		// (set) Token: 0x0600F10C RID: 61708 RVA: 0x00283392 File Offset: 0x00281592
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Id
		{
			get
			{
				return this.id_;
			}
			set
			{
				this.id_ = value;
			}
		}

		// Token: 0x170043D6 RID: 17366
		// (get) Token: 0x0600F10D RID: 61709 RVA: 0x0028339B File Offset: 0x0028159B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<Vector> WolfBroPos
		{
			get
			{
				return this.wolfBroPos_;
			}
		}

		// Token: 0x170043D7 RID: 17367
		// (get) Token: 0x0600F10E RID: 61710 RVA: 0x002833A3 File Offset: 0x002815A3
		// (set) Token: 0x0600F10F RID: 61711 RVA: 0x002833AB File Offset: 0x002815AB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WolfBroPropInfo WolfBroPropInfo
		{
			get
			{
				return this.wolfBroPropInfo_;
			}
			set
			{
				this.wolfBroPropInfo_ = value;
			}
		}

		// Token: 0x0600F110 RID: 61712 RVA: 0x002833B4 File Offset: 0x002815B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as WolfBroInfo);
		}

		// Token: 0x0600F111 RID: 61713 RVA: 0x002833C4 File Offset: 0x002815C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(WolfBroInfo other)
		{
			return other != null && (other == this || (this.KMPCNKLGIAE == other.KMPCNKLGIAE && this.NHKKBMBCDJE == other.NHKKBMBCDJE && !(this.Uuid != other.Uuid) && this.Id == other.Id && this.wolfBroPos_.Equals(other.wolfBroPos_) && object.Equals(this.WolfBroPropInfo, other.WolfBroPropInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600F112 RID: 61714 RVA: 0x0028345C File Offset: 0x0028165C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.KMPCNKLGIAE)
			{
				num ^= this.KMPCNKLGIAE.GetHashCode();
			}
			if (this.NHKKBMBCDJE != 0U)
			{
				num ^= this.NHKKBMBCDJE.GetHashCode();
			}
			if (this.Uuid.Length != 0)
			{
				num ^= this.Uuid.GetHashCode();
			}
			if (this.Id != 0U)
			{
				num ^= this.Id.GetHashCode();
			}
			num ^= this.wolfBroPos_.GetHashCode();
			if (this.wolfBroPropInfo_ != null)
			{
				num ^= this.WolfBroPropInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600F113 RID: 61715 RVA: 0x0028350C File Offset: 0x0028170C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600F114 RID: 61716 RVA: 0x00283514 File Offset: 0x00281714
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600F115 RID: 61717 RVA: 0x00283520 File Offset: 0x00281720
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.wolfBroPropInfo_ != null)
			{
				output.WriteRawTag(18);
				output.WriteMessage(this.WolfBroPropInfo);
			}
			if (this.Uuid.Length != 0)
			{
				output.WriteRawTag(42);
				output.WriteString(this.Uuid);
			}
			if (this.NHKKBMBCDJE != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.NHKKBMBCDJE);
			}
			this.wolfBroPos_.WriteTo(ref output, WolfBroInfo._repeated_wolfBroPos_codec);
			if (this.KMPCNKLGIAE)
			{
				output.WriteRawTag(96);
				output.WriteBool(this.KMPCNKLGIAE);
			}
			if (this.Id != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.Id);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600F116 RID: 61718 RVA: 0x002835E4 File Offset: 0x002817E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.KMPCNKLGIAE)
			{
				num += 2;
			}
			if (this.NHKKBMBCDJE != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.NHKKBMBCDJE);
			}
			if (this.Uuid.Length != 0)
			{
				num += 1 + CodedOutputStream.ComputeStringSize(this.Uuid);
			}
			if (this.Id != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Id);
			}
			num += this.wolfBroPos_.CalculateSize(WolfBroInfo._repeated_wolfBroPos_codec);
			if (this.wolfBroPropInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.WolfBroPropInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600F117 RID: 61719 RVA: 0x00283690 File Offset: 0x00281890
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(WolfBroInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.KMPCNKLGIAE)
			{
				this.KMPCNKLGIAE = other.KMPCNKLGIAE;
			}
			if (other.NHKKBMBCDJE != 0U)
			{
				this.NHKKBMBCDJE = other.NHKKBMBCDJE;
			}
			if (other.Uuid.Length != 0)
			{
				this.Uuid = other.Uuid;
			}
			if (other.Id != 0U)
			{
				this.Id = other.Id;
			}
			this.wolfBroPos_.Add(other.wolfBroPos_);
			if (other.wolfBroPropInfo_ != null)
			{
				if (this.wolfBroPropInfo_ == null)
				{
					this.WolfBroPropInfo = new WolfBroPropInfo();
				}
				this.WolfBroPropInfo.MergeFrom(other.WolfBroPropInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600F118 RID: 61720 RVA: 0x0028374A File Offset: 0x0028194A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600F119 RID: 61721 RVA: 0x00283754 File Offset: 0x00281954
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 64U)
				{
					if (num == 18U)
					{
						if (this.wolfBroPropInfo_ == null)
						{
							this.WolfBroPropInfo = new WolfBroPropInfo();
						}
						input.ReadMessage(this.WolfBroPropInfo);
						continue;
					}
					if (num == 42U)
					{
						this.Uuid = input.ReadString();
						continue;
					}
					if (num == 64U)
					{
						this.NHKKBMBCDJE = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 90U)
					{
						this.wolfBroPos_.AddEntriesFrom(ref input, WolfBroInfo._repeated_wolfBroPos_codec);
						continue;
					}
					if (num == 96U)
					{
						this.KMPCNKLGIAE = input.ReadBool();
						continue;
					}
					if (num == 112U)
					{
						this.Id = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04005F1B RID: 24347
		private static readonly MessageParser<WolfBroInfo> _parser = new MessageParser<WolfBroInfo>(() => new WolfBroInfo());

		// Token: 0x04005F1C RID: 24348
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005F1D RID: 24349
		public const int KMPCNKLGIAEFieldNumber = 12;

		// Token: 0x04005F1E RID: 24350
		private bool kMPCNKLGIAE_;

		// Token: 0x04005F1F RID: 24351
		public const int NHKKBMBCDJEFieldNumber = 8;

		// Token: 0x04005F20 RID: 24352
		private uint nHKKBMBCDJE_;

		// Token: 0x04005F21 RID: 24353
		public const int UuidFieldNumber = 5;

		// Token: 0x04005F22 RID: 24354
		private string uuid_ = "";

		// Token: 0x04005F23 RID: 24355
		public const int IdFieldNumber = 14;

		// Token: 0x04005F24 RID: 24356
		private uint id_;

		// Token: 0x04005F25 RID: 24357
		public const int WolfBroPosFieldNumber = 11;

		// Token: 0x04005F26 RID: 24358
		private static readonly FieldCodec<Vector> _repeated_wolfBroPos_codec = FieldCodec.ForMessage<Vector>(90U, Vector.Parser);

		// Token: 0x04005F27 RID: 24359
		private readonly RepeatedField<Vector> wolfBroPos_ = new RepeatedField<Vector>();

		// Token: 0x04005F28 RID: 24360
		public const int WolfBroPropInfoFieldNumber = 2;

		// Token: 0x04005F29 RID: 24361
		private WolfBroPropInfo wolfBroPropInfo_;
	}
}
